package com.kjc.demo.basic.config;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 **/

@Data
@Configuration
@ConfigurationProperties(prefix = "my")
public class MyConfig {

	private String secretl; //${random.value}
	private String number; // ${random.int}
	private Long bignumber; //${random.long}
	private String uuid;  //${random.uuid}
	private List<String> servers = new ArrayList<String>();

}
